package day0117;
class Father{
    Father(){
        System.out.println("父类构造方法");//4.
    }
    {
        System.out.println("父类代码块");//3.
    }
    static{
        System.out.println("父类静态代码块");//1.
    }
}

public class Test3 extends  Father{
    Test3(){
        System.out.println("子类构造");//6.
    }
    {     System.out.println("子类代码块");}//5.

    static{
        System.out.println("子类静态代码块");//2.
    }
    public static void main(String[] args) {
        Test3 t=new Test3();
    }
}
